package com.chart.web.controller.system;

import com.chart.chart.domian.SysCreenTemplate;
import com.chart.chart.domian.vo.SysCreenTemplateVO;
import com.chart.chart.service.ISysCreenTemplateService;
import com.chart.common.core.domain.AjaxResult;
import org.apache.commons.math3.geometry.partitioning.AbstractRegion;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

@RestController
@RequestMapping("/system")
public class SysCreenTemplateController {


    @Autowired
    private ISysCreenTemplateService sysCreenTemplateService;


    /**
     * 查询大屏模版
     * @return
     */

    @GetMapping("listCreenTemplate")
    public AjaxResult listCreenTemplate(){
     List<SysCreenTemplateVO> sysCreenTemplateList   = sysCreenTemplateService.listCreenTemplate();
        return AjaxResult.success(sysCreenTemplateList);
    }










}
